home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 October
/
PCWorld_2003-10_cd.bin
/
Software
/
Vyzkuste
/
mb
/
Mbm5330.exe
/
{app}
/
misc
/
readme.txt
< prev
next >
Wrap
Text File
|
2003-08-15
|
3KB
|
109 lines
****************************************************************
wm_close.exe
****************************************************************
tool to close any program as long as it responds to the wm_close API call,
to use it call it with the window class or window name as parameter, it will
1st try to locate a window wich has the given parameter as class name, if that
fails it will try to locate a window with the given parameter as name.
****************************************************************
mbm5msg.exe
****************************************************************
tool to send a message to mbm, starting it with one of the switches below will
make it send that message to mbm.
0 WM_WRITELH
1 WM_OPENSETTINGS
2 WM_OPENDASHBOARD
3 WM_OPENHELP
4 WM_CLOSEMBM
5 WM_CLOSEOSD
6 WM_OPENOSD
7 WM_DUMPISA
8 WM_DUMPSMB
9 WM_DUMPPCI
10 WM_VIADUMP
****************************************************************
mbmstarter.dll
****************************************************************
This may ONLY be distributed and used by programs that are fully FREEWARE,
you are NOT ALLOWED to use this DLL with shareware, payware or commercial programs.
now that the legal part is out of the way, with this dll you can launch
the mbm.dll without using mbm, of course you must have configured mbm correctly
if you want this to work correctly. Once the mbm.dll is running you freeware
program can access the sharedmemory like normal
the delphi code to start the dll is like this:
type
TStartDLL = function : Integer; stdcall;
TStopDLL = function : Integer; stdcall;
var
Form1: TForm1;
CStartDLL : TStartDLL;
CStopDLL : TStopDLL;
DLLHandle : THandle;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
var
X : Integer;
begin
if DLLHandle=0 then
begin
DLLHandle:=LoadLibrary(PChar(ExtractFilePath(ParamStr(0))+'MBMStarter.dll'));
if DLLHandle <> 0 then
begin
@CStartDLL:=GetProcAddress(DLLHandle, 'Start');
X:=CStartDLL;
if X <> 1 then Showmessage('Error Starting MBM.DLL, Error : '+IntToStr(X))
else Showmessage('MBM.DLL Started') ;
end
else Showmessage('Error Loading StarterDLL');
end;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
if DLLHandle<>0 then
begin
@CStopDLL:=GetProcAddress(DLLHandle, 'Stop');
CStopDLL;
FreeLibrary(DLLHandle);
DLLHandle:=0;
Showmessage('Starter DLL unloaded');
end;
end;
the mbm5starter.dll will always created a sub dir called dll and copy the mbm.dll into
this directory, this is needs to be done and can not be avoided
****************************************************************
mbm 5.ini
****************************************************************
This is a clean version of the MBM 5.ini file, if you ever get into troubles then
simply close mbm and copy this OVER the version in the /data directory and you
can start clean.
****************************************************************
uninstall problems.bat
****************************************************************
If your having errors uninstalling which included INSTALL.LOG then
please run this batch file, it should start the uninstaller without
problems